<form class="layui-form layui-form-pane form-search" action="{:sysuri()}" onsubmit="return false" method="get" autocomplete="off">

    {if $super }
    <div class="layui-form-item layui-inline">
        <label class="layui-form-label">{:lang('所属公司')}</label>
        <div class="layui-input-inline">
            <select name="account_id" lay-search class="layui-select">
                <option value=''>-- {:lang('全部')} --</option>
                {foreach $account_list as $id => $name}
                <option value="{$id}">{$name}</option>
                {/foreach}
            </select>
        </div>
    </div>
    {/if}
    <div class="layui-form-item layui-inline">
        <label class="layui-form-label">{:lang('仓库')}</label>
        <div class="layui-input-inline">
            <select name="warehouse_id" lay-search class="layui-select">
                <option value=''>-- {:lang('请选择')} --</option>
                {foreach $warehouse as $id => $title}
                <option value="{$id}"  {if isset($get.warehouse_id) && $get.warehouse_id == $id} selected {/if} >{$title}</option>
                {/foreach}
            </select>
        </div>
    </div>

    <div class="layui-form-item layui-inline">
        <label class="layui-form-label">{:lang('区域编码')}</label>
        <label class="layui-input-inline">
            <input name="region_code" value="{$get.region_code|default=''}" placeholder="{:lang('区域编码')}" class="layui-input">
        </label>
    </div>

    <div class="layui-form-item layui-inline">
        <label class="layui-form-label">{:lang('区域名称')}</label>
        <label class="layui-input-inline">
            <input name="region_name" value="{$get.region_name|default=''}" placeholder="{:lang('区域名称')}" class="layui-input">
        </label>
    </div>

    <div class="layui-form-item layui-inline">
        <input type="hidden" name="type" value="{$type|default='index'}">
        <button class="layui-btn layui-btn-primary"><i class="layui-icon">&#xe615;</i> {:lang('搜 索')}</button>
        <button class="layui-btn layui-btn-primary" type="reset"> {:lang('重置')}</button>
    </div>
</form>